const state = {
    isShowDialog:false,
    dialogTitle:'',
    btnActionType:'',
    isStartVal:true,
  }
  
  const mutations = {
    // 部门模态框
    hideOrShowDialog(state,payload){
        state.isShowDialog = payload.isShowDialog
        state.dialogTitle = payload.dialogTitle
        state.btnActionType = payload.btnActionType
    },
    // 页面模板模态框
    hideOrShowTmplDialog(state,payload){
      state.isShowDialog = payload.isShowDialog
      state.dialogTitle = payload.dialogTitle
      state.btnActionType = payload.btnActionType
    },
    //页面模板模态框标题
    changeDialogTitle(state,payload) {
      state.dialogTitle = payload.dialogTitle
    },
    set_isStartVal(state,isStartVal){
      state.isStartVal=isStartVal
   }
  }
  
  const actions = {

  }
  
  export default {
    state,
    mutations,
    actions
  }
  